package com.example.test003.service.impl;

import com.example.test003.mapper.LocationAndClientIdMapper;
import com.example.test003.pojo.LocationAndClientId;
import com.example.test003.service.LocationAndClientIdService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class LocationAndClientIdServiceImpl implements LocationAndClientIdService {
    @Autowired
    private LocationAndClientIdMapper locationAndClientIdMapper;

    //根据location地点去查设备码
    @Override
    public LocationAndClientId queryByLocation(String location) {
        LocationAndClientId locationAndClientId=locationAndClientIdMapper.queryByLocation(location);
        return locationAndClientId;
    }
}
